Skip to content

add ability to provide a digest for haproxy#524

Open
LaurentGoderre wants to merge 2 commits intovectordotdev:developfrom
LaurentGoderre:haproxy-image-digest
Open

add ability to provide a digest for haproxy#524
LaurentGoderre wants to merge 2 commits intovectordotdev:developfrom
LaurentGoderre:haproxy-image-digest

Conversation

@LaurentGoderre
Copy link
Copy Markdown

This follows the same pattern as the image syntax for the vector container

LaurentGoderre and others added 2 commits December 15, 2025 15:37
This follows the same pattern as the image syntax for the vector container
@pront
Copy link
Copy Markdown
Member

pront commented Apr 9, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f2d51f79e0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +51 to +53
{{- else if $tag -}}
{{- printf "%s:%s" $repo $tag -}}
{{- end }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add fallback image tag when no tag or digest is set

This helper stops at else if $tag and never handles the case where both haproxy.image.tag and haproxy.image.sha/digest are empty, so it returns an empty string. Because deployment.yaml now uses this helper for image, that path renders image: "", which Kubernetes rejects for a container spec. The comment above this function also states a repo:<Chart.AppVersion> fallback, so the current implementation breaks that advertised behavior.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants